var express = require('express');
var router = express.Router();

/* GET home page. */
router.get('/', function(req, res, next) {
  res.json({
    data: 
    [
        {content: "FSDFSDFS",
        contentType: 1,
        createDate: "2020-12-07 16:26:46",
        id: 9676,
        modifyDate: null,
        msgId: "51087784261189632",
        relationId: "836d8172-781f-42f4-b474-c1e71698308a",
        sendUserId: "edc6f13f6ca94bdcab926b95412a11fd",
        sendUserType: 1,
        sysType: 1},
        {content: "DSFSDFS",
        contentType: 1,
        createDate: "2020-12-07 16:27:07",
        id: 9678,
        modifyDate: null,
        msgId: "51087806809767936",
        relationId: "836d8172-781f-42f4-b474-c1e71698308a",
        sendUserId: "61280",
        sendUserType: 2,
        sysType: 1},
        {content: "DSFSDFS",
        contentType: 1,
        createDate: "2020-12-07 16:27:07",
        id: 9673,
        modifyDate: null,
        msgId: "51087806809767936",
        relationId: "836d8172-781f-42f4-b474-c1e71698308a",
        sendUserId: "61280",
        sendUserType: 2,
        sysType: 1},
        {content: "DSFSDFS",
        contentType: 1,
        createDate: "2020-12-07 16:27:07",
        id: 9648,
        modifyDate: null,
        msgId: "51087806809767936",
        relationId: "836d8172-781f-42f4-b474-c1e71698308a",
        sendUserId: "61280",
        sendUserType: 2,
        sysType: 1},
        {content: "DSFSDFS",
        contentType: 1,
        createDate: "2020-12-07 16:27:07",
        id: 9671,
        modifyDate: null,
        msgId: "51087806809767936",
        relationId: "836d8172-781f-42f4-b474-c1e71698308a",
        sendUserId: "61280",
        sendUserType: 2,
        sysType: 1},
        {content: "DSFSDFS",
        contentType: 1,
        createDate: "2020-12-07 16:27:07",
        id: 1678,
        modifyDate: null,
        msgId: "51087806809767936",
        relationId: "836d8172-781f-42f4-b474-c1e71698308a",
        sendUserId: "61280",
        sendUserType: 2,
        sysType: 1},
        {content: "DSFSDFS",
        contentType: 1,
        createDate: "2020-12-07 16:27:07",
        id: 9278,
        modifyDate: null,
        msgId: "51087806809767936",
        relationId: "836d8172-781f-42f4-b474-c1e71698308a",
        sendUserId: "61280",
        sendUserType: 2,
        sysType: 1},
        {content: "DSFSDFS",
        contentType: 1,
        createDate: "2020-12-07 16:27:07",
        id: 9608,
        modifyDate: null,
        msgId: "51087806809767936",
        relationId: "836d8172-781f-42f4-b474-c1e71698308a",
        sendUserId: "61280",
        sendUserType: 2,
        sysType: 1},
        {content: "DSFSDFS",
        contentType: 1,
        createDate: "2020-12-07 16:27:07",
        id: 7678,
        modifyDate: null,
        msgId: "51087806809767936",
        relationId: "836d8172-781f-42f4-b474-c1e71698308a",
        sendUserId: "61280",
        sendUserType: 2,
        sysType: 1},
        {content: "DSFSDFS",
        contentType: 1,
        createDate: "2020-12-07 16:27:07",
        id: 9670,
        modifyDate: null,
        msgId: "51087806809767936",
        relationId: "836d8172-781f-42f4-b474-c1e71698308a",
        sendUserId: "61280",
        sendUserType: 2,
        sysType: 1},
        {content: "DSFSDFS",
        contentType: 1,
        createDate: "2020-12-07 16:27:07",
        id: 9632,
        modifyDate: null,
        msgId: "51087806809767936",
        relationId: "836d8172-781f-42f4-b474-c1e71698308a",
        sendUserId: "61280",
        sendUserType: 2,
        sysType: 1},
        {content: "DSFSDFS",
        contentType: 1,
        createDate: "2020-12-07 16:27:07",
        id: 9438,
        modifyDate: null,
        msgId: "51087806809767936",
        relationId: "836d8172-781f-42f4-b474-c1e71698308a",
        sendUserId: "61280",
        sendUserType: 2,
        sysType: 1}
    ],
    message: "成功！！",
    resCode: 0
  })
  // res.render('index', { title: 'Express' });
});

module.exports = router;
